<!DOCTYPE html>
<html xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<meta charset="utf-8">
	<title>角色管理</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css" media="all" />
	<style type="text/css">
		.search{
			margin-bottom: 8px;
		}
		.search label{
			width:40px;
		}
	</style>
</head>
<body class="childrenBody">
	<blockquote class="layui-elem-quote quoteBox">
		<div class="layui-inline">
			<label class="layui-form-label-col-2">角色名称:</label>
			<div class="layui-input-inline">
				<input type="text" id="roleName" class="layui-input roleName" placeholder="请输入搜索的内容" />
			</div>
		</div>
			<a class="layui-btn search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>查询</a>
		<div class="layui-inline">
			<shiro:hasPermission name="roleInfo:add"><a class="layui-btn layui-btn-normal addNews_btn">添加角色</a></shiro:hasPermission>
		</div>
	</blockquote>
	<!-- <div class="layui-form-item search">
		<div class="layui-inline">
			<shiro:hasPermission name="userInfo:add"><a class="layui-btn layui-btn-normal addNews_btn">添加用户</a></shiro:hasPermission>
		</div>
		<div class="layui-inline">
			<a class="layui-btn layui-btn-danger layui-btn-normal delAll_btn">批量删除</a>
		</div>
	</div> -->
	<table id="roleList" lay-filter="roleList"></table>

	<!--操作-->
	<script type="text/html" id="roleListBar">
		<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
		<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
		<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="confUser">授权用户</a>
		<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="confPerssion">分配权限</a>
	</script>
<script type="text/javascript" th:src="@{/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/js/systemSetting/roleList.js}"></script>
</body>
</html>